#!/bin/bash 

[ ${MAIL} ] || exit 0

tty -s
case $? in
0)
	;;
*)
	cat ${LOG} | mail -s "backup ${TAG} ${TIPO} OK" jon@localhost
	;;
esac
exit 0
